detail
Returns the payload of the custom event.
The type mapping rules are the following:
| JavaScript | Java |
|--------------------|----------------|
| Number | Double |
| String | String |
| Boolean | Boolean |
| null and undefined | null |
| Node | JsObject, Node |
| ArrayBuffer | JsArrayBuffer |
| Array | JsArray |
| Set | JsSet |
| Map | JsMap |
| Object | JsObject |
| Proxy Object | Object |
Content copied to clipboard
Proxy objects are mapped to the corresponding injected Java object.
Return
the object from the detail
field of the CustomEvent
.
Parameters
<T>
the result type according to the type mapping rules